package org.linlinjava.litemall.admin.dto;

import java.math.BigDecimal;

/**
 * Author tony
 * Description //TODO
 * Date 2020/10/23 7:47
 */
public class MaterialAttribute {
    private Integer materialId;
    private BigDecimal amount;
    private String materialName;
    private String materialCode;
    private String unit;

    public Integer getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Integer materialId) {
        this.materialId = materialId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    @Override
    public String toString() {
        return "MaterialAttribute{" +
                "materialId=" + materialId +
                ", amount=" + amount +
                ", materialName='" + materialName + '\'' +
                ", materialCode='" + materialCode + '\'' +
                ", unit='" + unit + '\'' +
                '}';
    }
}
